<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../../css/wm-ui.css" />
		<link rel="stylesheet" type="text/css" href="../../css/tabFrame.css" />
		<title>tabFrame</title>
	</head>
	<body>
		<script src="../../js/wm-ui.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/tabFrame.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function() {
				$.tabFrame({
					menuApi: "menu.json", //左侧菜单接口地址
					menuDataField: "rows", //左侧菜单接口数据字段
					userInfoApi: "userInfo.json", //用户信息接口
					userInfoDataField: "userInfo", //用户信息接口数据字段
					logoutUrl: "./login.html", //登出地址
					loginUrl: "./login.html", //登录地址
					copyrightText: "copyright &copy; hrbwmxx.com 未名信息版权所有", //版权信息文字
					logoImgUrl: "images/wmlogo.png", //logo图片url
					homePageUrl: "./_doc/index.html", //主页地址
					homePageTitle: "首页",
					menuLoaded: function(data) {
						console.log(data)
					},
					userInfoLoaded: function(data) {
						console.log(data)
					},
					tabList: true
				})
			})
		</script>
	</body>
</html>
